# -*- coding: utf-8 -*-
# @Time    : 2022/9/29 17:39
# @Author  : Yanfeng
# @Email   : sxyanfeng2014@163.com
# @File    : aliexpress_listing_management_page_locs.py
# @Software: PyCharm
from selenium.webdriver.common.by import By

class Aliexpress_Sales_Management_Page_Locs:

    #速卖通listing内嵌页 iframeSubMenu
    """page 速卖通 Listing管理"""
    """frmain>iframeSubMenu"""
    iframeSubMenu = (By.XPATH,'//*[@id="iframeSubMenu" and @src="/Irobotbox/aliexpressV2/AliexpressListingList.aspx"]')

    #搜索按钮
    search_button = (By.XPATH,'//*[@id="form1"]/div[1]/div/a[1]/span')
    #渠道sku 12702466 勾选框
    qd_sku_select = (By.XPATH,'//*[@id="12702466"]')
    #上架或发布Listing按钮
    publish_button = (By.XPATH,'//img[@src="/irobotbox/images/aliexpresslisting/smtlisting02.png"]')
    #提示框文本元素
    prompt_information = (By.XPATH,'//div[contains(text(),"操作成功,请自行刷新列表页面")]')
